package com.cn.entity;

import java.sql.Timestamp;

/**
 * MessageInner entity. @author MyEclipse Persistence Tools
 */

public class MessageInner implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer messageId;
	private Timestamp createTime;
	private String content;
	private Integer userId;

	// Constructors

	/** default constructor */
	public MessageInner() {
	}

	/** minimal constructor */
	public MessageInner(Integer messageId, Timestamp createTime) {
		this.messageId = messageId;
		this.createTime = createTime;
	}

	/** full constructor */
	public MessageInner(Integer messageId, Timestamp createTime,
			String content, Integer userId) {
		this.messageId = messageId;
		this.createTime = createTime;
		this.content = content;
		this.userId = userId;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getMessageId() {
		return this.messageId;
	}

	public void setMessageId(Integer messageId) {
		this.messageId = messageId;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

}